package ooday04;
//匿名内部类
public class AnonInnerClassDemo {
    public static void main(String[] args) {
        Aoo o1 = new Aoo(){};
        Aoo o2 = new Aoo(){};

        int num = 5;
        num = 6;
        Boo o3 = new Boo(){
            void show(){
                System.out.println("showshow");
            }
        };
        o3.show();
    }
}
abstract class Boo{
    abstract void show();
}
abstract class Aoo{
}
